package com.zhaiweijia.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zhaiweijia.entity.Category;
import com.zhaiweijia.entity.Channel;

public interface ChannelDao {
	//查询所有栏目
	List<Channel> getChannels();
	//查询所有分类
	List<Category> getCategoryIdByChannelId(@Param("channelId")Integer channelId);

}
